<?php
namespace Nawa\MedicalStudy\MedicalCenter\Patient;
/**
 * Medical Center Partners Patient Documents.
 *
 * It represant a document attached to a patient
 *
 * @author Xavier VILAIN
 * @package Nawa\MedicalStudy\MedicalCenter
 * @license
 *
 * @property int	$msid			Id of the medical study
 * @property int	$mcid			Medical Center
 * @property int	$patientid		Patient Id
 * @property int	$docid			Document Id
 */
class Document extends \Fox\Object {

	/**
	 * Link to Medical Study
	 */
	const LINK_MEDICAL_STUDY = "medicalStudy";

	/**
	 * Link to Medical Center
	 */
	const LINK_MEDICAL_CENTER = "medicalCenter";

	/**
	 * Link to Medical Center
	 */
	const LINK_PATIENT = "patient";

	/**
	 * Link to Document
	 */
	const LINK_DOCUMENT = "document";

}
\Fox\Dao::infos(
Document::className(),
new \Fox\Object\Info('ms_mc_patient_documents', \Fox\Databases::DB_APP)
);